/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package studenttrack.entity;

import java.util.Date;
import stException.SubmissionAlreadyMadeException;
import stException.SubmissionNotMadeForThisAssessmentException;

/**
 *
 * @author tg227
 */
public interface AssessmentInterface {

    public void addSubmission(long submissionID) throws SubmissionAlreadyMadeException;

    public int getDuration();

    public Date getHandIn();

    public Date getHandOut();

    public String getModuleID();

    public Long getSequenceNumber();

    public long[] getSubmissions();

    public String getType();

    public int getWeighting();

    public void removeSubmission(long submissionID) throws SubmissionNotMadeForThisAssessmentException;

    public void setDuration(int duration);

    public void setHandIn(Date handIn);

    public void setHandOut(Date handOut);

    public void setModuleID(String moduleID);

    public void setType(String type);

    public void setWeighting(int weighting);

}
